package org.cerberus.platform.test;

import java.util.List;

import org.cerberus.platform.api.PAttribute;
import org.cerberus.platform.api.PComponent;
import org.cerberus.platform.api.PEvent;
import org.cerberus.platform.api.PlatformUtilities;
import org.cerberus.platform.components.PAction;
import org.cerberus.platform.components.PView;

@PComponent(classID="test.DataView")
public class EditorView extends PView {

	@PAttribute
	private List<PAction> actionBarActions;
	
	@PAttribute
	private PView contentView;

	public List<PAction> getActionBarActions() {
		return actionBarActions;
	}

	public void setActionBarActions(List<PAction> actionBarActions) {
		this.actionBarActions = actionBarActions;
		PlatformUtilities.change(this, "actionBarActions");
	}

	public PView getContentView() {
		return contentView;
	}

	public void setContentView(PView contentView) {
		this.contentView = contentView;
		PlatformUtilities.change(this, "contentView");
	}
	
	@PEvent
	public void doOnClientSide() {
		
	}
	
	
}
